(function() {
    'use strict';

    /**
     * @ngdoc function
     * @name webApp.controller:HomeCtrl
     * @description
     * # HomeCtrl
     * Controller of the webApp
     */
    angular.module('webApp')
        .controller('HomeCtrl', HomeCtrl);

    HomeCtrl.$inject = ['$scope', 'dataService', 'helper', 'dhfprinterService', '$timeout', '$interval', '$rootScope', '$state', 'cacheService','sessionService', ];

    function HomeCtrl($scope, dataService, helper, dhfprinterService, $timeout, $interval, $rootScope, $state, cacheService,sessionService) {
        $scope.indexAction = function() {
            //加载数据
            $scope.store_id = $rootScope.store_id;
            $scope.user = sessionService.get("tokenUser");
        }
        
        $scope.initactive = function() {
            return true;
        }
    }
})();